package com.tinytoon.hunghoaqua;


import com.tinytoon.hunghoaqua.R;

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.widget.ListView;

public class HighScoreActivity extends Activity{
	
	ListView list;
	DatabaseUtil db;
	CursorAdapter adapter;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.list_view);
		db = new DatabaseUtil(this);
		Cursor c = db.getRecords();
		adapter = new CursorAdapter(this, c);
		list = (ListView) findViewById(R.id.ID_list);
		list.setAdapter(adapter);
	}
}
